package com.xhs.main.service.rsb;

import com.xhs.main.entity.rsb.RsbUser;

import java.util.List;

/**
 * @author author
 * @create 2020-10-19-20:57
 */
public interface RsbUserService {
    //添加员工
    void insertRsbUser(RsbUser rsbUser);
    //根据员工姓名查员工
    RsbUser selectRsbUserByName(String userName);
    //根据员工编号和员工姓名查员工
    RsbUser selectRsbUserByNameAndNum(String userName,String userNum);
    //修改用户
    void updateRsbUser(RsbUser rsbUser,String userNum,String userName);
    //多条件模糊查询分页
    List<RsbUser> selectUserByChooseLimit(RsbUser user,int page,int size);
    //多条件模糊查询
    List<RsbUser> selectUserByChoose(RsbUser user);
    //得到数据总条数
    int UserCount();
    //得到所有员工
    List<RsbUser> selectAllUser();
    //删除员工
    void deleteUsers(List<String> numbers);
    //删除所有员工
    void deleteAll();
}
